package com.lagou.article.service;

import com.lagou.article.pojo.Article;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * article service接口
 *
 * @author zyt
 * @date 2020/6/21 18:59
 */
public interface ArticleService {
    Page<Article> findAllByPage(int pageNum, int pageSize);
    List<Article> findAll();
}
